#! @shell@ -e

chrootenvDest=/run/chrootenv/@name@

# Unmount all bind mounts
umount $chrootenvDest/{dev/pts,dev/shm,dev,nix/store,proc,sys,host-etc,home,var,run}
